import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入vant ui
import { Tabbar, TabbarItem, Swipe, SwipeItem, Lazyload, Form, Field, NavBar, Icon, Button} from 'vant';

// 注册组件
Vue.use(Button);
Vue.use(Icon);
Vue.use(NavBar);
Vue.use(Form);
Vue.use(Field);
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
